package com.jx.gocomtask.webservice.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;

import javax.persistence.*;

/**
 * Created by LWD on 2017/8/11.
 */
@Entity
@Table(name = "ext_task_extension")

@NamedStoredProcedureQueries({
        @NamedStoredProcedureQuery(name = "state_procedure", procedureName = "state_procedure", parameters = {
                @StoredProcedureParameter(mode = ParameterMode.IN, name = "msgId", type = Long.class) }) })
public class ExtTaskExtension {

    @Id
    @Column(name = "message_id")
    private Long messageId;
    @Column(name = "start_number")
    private Integer startNumber;
    @Column(name = "received_number")
    private Integer receivedNumber;
    @Column(name = "finished_number")
    private Integer finishedNumber;
    @Column(name = "refuse_number")
    private Integer refuseNumber;

    public Long getMessageId() {
        return messageId;
    }

    public void setMessageId(Long messageId) {
        this.messageId = messageId;
    }

    public Integer getStartNumber() {
        return startNumber;
    }

    public void setStartNumber(Integer startNumber) {
        this.startNumber = startNumber;
    }

    public Integer getReceivedNumber() {
        return receivedNumber;
    }

    public void setReceivedNumber(Integer receivedNumber) {
        this.receivedNumber = receivedNumber;
    }

    public Integer getFinishedNumber() {
        return finishedNumber;
    }

    public void setFinishedNumber(Integer finishedNumber) {
        this.finishedNumber = finishedNumber;
    }

    public Integer getRefuseNumber() {
        return refuseNumber;
    }

    public void setRefuseNumber(Integer refuseNumber) {
        this.refuseNumber = refuseNumber;
    }
}
